package com.springStudy.beans.factory.config.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 依赖于TestBean对象
 */
@Component
public class TestBean2 {
    public TestBean2() {
        System.out.println("test2 的构造方法");
    }
}
